<?php
/*********************************************************************************
 * This file is part of KReporter. KReporter is an enhancement developed 
 * by KINAMU Business Solutions AG. All rights ar (c) 2010 by KINAMU Business
 * Solutions AG.
 *
 * KReporter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * KReporter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with KReporter.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * You can contact KINAMU Business Solutions AG at Am Concordepark 2/F12
 * A-2320 Schwechat or via email at office@kinamu.com
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU General Public License version 3,
 * these Appropriate Legal Notices must retain the Name KINAMU in the Name
 * of the Module which needs to be visible to the User.
 * 
 ********************************************************************************/
$viewdefs['KReports']['EditView'] = array(
    'templateMeta' => array('form' => array(
									'hidden' => array('<input type="hidden" name="whereconditions" id="whereconditions" value="{$fields.whereconditions.value}">',
													  '<input type="hidden" name="wheregroups" id="wheregroups" value="{$fields.wheregroups.value}">',
													  '<input type="hidden" name="listfields" id="listfields" value="{$fields.listfields.value}">',
													  '<input type="hidden" name="listtype" id="listtype" value="{$fields.listtype.value}">',
													  '<input type="hidden" name="jsonlanguage" id="jsonlanguage" value=\'{$jsonlanguage}\'>',
													  '<input type="hidden" name="selectionlimit" id="selectionlimit" value=\'{$fields.selectionlimit.value}\'>',
													  '<input type="hidden" name="pdforientation" id="pdforientation" value=\'{$fields.pdforientation.value}\'>',
													  '<input type="hidden" name="chart_type" id="chart_type" value=\'{$fields.chart_type.value}\'>',
													  '<input type="hidden" name="chart_layout" id="chart_layout" value=\'{$fields.chart_layout.value}\'>',
													  '<input type="hidden" name="chart_height" id="chart_height" value=\'{$fields.chart_height.value}\'>',
													  '<input type="hidden" name="chart_params" id="chart_params" value=\'{$fields.chart_params.value}\'>',
													  '<input type="hidden" name="kreporteredition" id="kreporteredition" value="basic">',
												      '<input type="hidden" name="report_module" id="report_module" value="{$fields.report_module.value}">'),
    								'buttons' =>array('SAVE', 'CANCEL'),
                                    //'buttons' => array(),
									'footerTpl'=>'modules/KReports/tpls/EditViewFooter.tpl',
									'headerTpl'=>'modules/KReports/tpls/EditViewHeader.tpl'),
                            'maxColumns' => '2', 
                            'widths' => array(
                                            array('label' => '10', 'field' => '30'), 
                                            array('label' => '10', 'field' => '30')
                                            ),                                      
),
 'panels' =>array (
  'default' => 
  array (
    
    array (
      array('name'=>'name', 'displayParams'=>array('required'=>true)),
      'assigned_user_name',
    ),
  ),
)


);
?>
